# name : ANCOVA using GLM
# key : ancova.glm.
# contributor: Shuguang Sun
# --
ods output parameterestimates=pe;
proc glm data=${1:dtin};
class $2;
model ${3:response} = ${2:trt01p} ${4:covariances} / solution clparm;
lsmeans $2 / stderr pdiff cl cov out=adjmeans;
contrast 'Slopes' $2 1 -1;
run;
